package com.ruiyian.project.equipment.mapper;

import com.ruiyian.project.equipment.domain.EquipmentProperty;

import java.util.List;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2021/1/25
 * Desc: 设备属性
 */
public interface EquipmentPropertyMapper {

    /**
     * 查询列表
     * @param equipmentProperty
     * @return
     */
    List<EquipmentProperty> selectList(EquipmentProperty equipmentProperty);

    /**
     * 根据id获取对象
     * @param id
     * @return
     */
    EquipmentProperty findOne(Long id);

    /**
     * 删除
     * @param id
     */
    void delete(Long id);


    /**
     * 编辑
     * @param equipmentProperty
     */
    void edit(EquipmentProperty equipmentProperty);


    /**
     * 保存
     * @param equipmentProperty
     */
    void save(EquipmentProperty equipmentProperty);
}
